<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>东明家居集团-东明课堂系统</title>
<link rel="stylesheet" href="css/iview.css">
<link rel="stylesheet" href="css/style.css">
<link href="./js/toastr/toastr.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid" id="app">
     <!-- breadcrumb -->
      <template class="page-header">
          <breadcrumb class="pull-left">
              <breadcrumb-item to="welcome.html" >首页</breadcrumb-item>
              <breadcrumb-item>驾驶人员信息添加</breadcrumb-item>
          </breadcrumb>
      </template>
      <!-- 表单 -->
      <div class="table-content">
          <template>
              <i-form :model="formItem" label-position="right" :label-width="133">
                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="员工编号：" >
                              <i-input v-model="formItem.UserNo"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="中心店面：" >
                              <i-select  v-model="formItem.Store" placeholder="中心/店面">
                                  <i-option v-for="item in StoreJson" :value="item.value"  >{{item.label}}</i-option>
                              </i-select>
                          </Form-item>
                      </i-col>
                  </row>

                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="部门：" >
                              <i-input v-model="formItem.Bm"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="姓名：">
                              <i-input v-model="formItem.Name"></i-input>
                          </Form-item>
                      </i-col>
                  </row>

                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="性别：">
                              <i-select  v-model="formItem.Sex" >
                                  <i-option  value="0"  >男</i-option>
                                  <i-option  value="1"  >女</i-option>
                              </i-select>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="生日：">
                              <i-col span="24">
                                  <Date-picker type="date" placeholder="请选择日期" v-model="formItem.Birthday"  format="yyyy-MM-dd" :disabled="true"></Date-picker>
                              </i-col>
                          </Form-item>
                      </i-col>
                  </row>

                  <row>

                     <!-- <i-col span="9" offset="1">
                          <Form-item label="身份证号：">
                              <i-input v-model="formItem.CardNo"></i-input>
                             &lt;!&ndash; <i-col span="24">
                                  <Date-picker type="date" placeholder="请选择日期" v-model="formItem.CardNo"  format="yyyy-MM-dd" :disabled="true"></Date-picker>
                              </i-col>&ndash;&gt;
                          </Form-item>
                      </i-col>-->
                      <i-col span="9" offset="1">
                          <Form-item label="手机号：">
                              <i-col span="24">
                                  <i-input v-model="formItem.PhoneNo"></i-input>
                              </i-col>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="驾龄(年)：">
                              <i-col span="24">
                                  <i-input v-model="formItem.DriveYears"></i-input>
                              </i-col>
                          </Form-item>
                      </i-col>
                  </row>
                  <row>

                      <i-col span="9" offset="1">
                          <Form-item label="准驾车型：">
                              <i-input v-model="formItem.CanUseCarType"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="出车状态：">
                              <i-select  v-model="formItem.Status" >
                                  <i-option  value="0"  >空闲</i-option>
                                  <i-option  value="1"  >出车中</i-option>
                              </i-select>
                          </Form-item>
                      </i-col>
                  </row>
                  <row>

                      <i-col span="9" offset="1">
                          <Form-item label="档案编号：">
                              <i-input v-model="formItem.RecordNo"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="初次领证日期：">
                              <i-col span="24">
                                  <Date-picker type="date" placeholder="请选择日期" v-model="formItem.StartHaveLicenseDate"  format="yyyy-MM-dd" :disabled="true"></Date-picker>
                              </i-col>
                          </Form-item>
                      </i-col>
                  </row>
                  <row>

                      <i-col span="9" offset="1">
                          <Form-item label="驾驶证有效期至：">
                              <i-col span="24">
                                  <Date-picker type="date" placeholder="请选择日期" v-model="formItem.LicenseUntil"  format="yyyy-MM-dd" :disabled="true"></Date-picker>
                              </i-col>
                          </Form-item>
                      </i-col>
                  </row>
                  <row style="margin-left: 130px;">
                       <i-col span="10" offset="1">
                             <i-button type="primary" class="mr10" @click="saveManInfo">保存</i-button><i-button @click="goBack">取消</i-button>
                       </i-col>
                  </row>
              </i-form>
          </template>
      </div>
</div>
</body>
<script src="./js/jquery-1.11.1.min.js"></script>
<script src="./js/vue.js"></script>
<script src="./js/iview.min.js"></script>
<script src="./js/man/man_add.js"></script>
<script src="./js/toastr/toastr.min.js"></script>

</html>
